Skip to content

Add az site key commands to manage Site Keys for Azure Edge sites#9794

Draft
aupmanyu-msft-work wants to merge 3 commits intoAzure:mainfrom
aupmanyu-msft-work:feature-sitekey-cli
Draft

Add az site key commands to manage Site Keys for Azure Edge sites#9794
aupmanyu-msft-work wants to merge 3 commits intoAzure:mainfrom
aupmanyu-msft-work:feature-sitekey-cli

Conversation

@aupmanyu-msft-work
Copy link
Copy Markdown
Member


Add CLI commands to manage Site Keys (siteKeys) for Azure Edge sites, scoped to resource group.

API version: 2026-04-01-preview (Microsoft.Edge/siteKeys)

Related command

az site key create - Create a site key linked to a site
az site key show - Get details of a specific site key
az site key list - List all site keys in a resource group
az site key delete - Delete a site key
az site key download - Download the token for a site key to a file

General Guidelines

  • Have you run azdev style locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

aupmanyu-microsoft and others added 2 commits April 17, 2026 11:37
…identity

- set_const signature is (name, value, type) not (name, type, value)
- API requires identity.type=SystemAssigned on siteKey creation
- Use hidden arg for siteResourceId populated in pre_operations

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…key commands

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Apr 17, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown
Contributor

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link
Copy Markdown
Contributor

…iteKey

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@yonzhan yonzhan requested a review from necusjz April 17, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants